package com.game.springbootstart.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 游戏申请表
 * </p>
 *
 * @author author
 * @since 2025-02-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("games_details")
@ApiModel(value="GamesDetails对象", description="游戏申请表")
public class GamesDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "游戏名称")
    private String name;

    @ApiModelProperty(value = "游戏分类名称")
    private String category;

    @ApiModelProperty(value = "游戏介绍")
    private String description;

    @ApiModelProperty(value = "游戏封面图片")
    private String imageUrl;

    @ApiModelProperty(value = "游戏发布时间")
    private LocalDate releaseDate;

    @ApiModelProperty(value = "开发商")
    private String developer;

    @ApiModelProperty(value = "支持的平台（PC, 手机等）")
    private String platform;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "游戏文件地址")
    private String gameUrl;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "分类状态 0:禁用，1:启用")
    private Integer status;


}
